meson: add graphene subproject that can be used as fallback
authorTim-Philipp Müller <tim@centricular.com>
Sun, 5 Feb 2017 11:41:14 +0000 (11:41 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 May 2017 14:10:52 +0000 (15:10 +0100)
meson.build
subprojects/graphene.wrap [new file with mode: 0644]

index 68ab90229cbfb1c06bbbd1c15e1cc93144bb1b9d..04a1f5e292bc5f872f5b819d9bff786acc2aaca5 100644 (file)
@@ -2,7 +2,6 @@ project('gtk+-3.0', 'c',
         version: '3.90.0',
         default_options: [
           'buildtype=debugoptimized',
-          'c_std=gnu89',
           'warning_level=1'
         ],
         license: 'LGPLv2.1+')
@@ -180,7 +179,7 @@ colord_dep     = dependency('colord', version: '>= 0.1.9', required: false)
 fontconfig_dep = dependency('fontconfig')
 harfbuzz_dep   = dependency('harfbuzz', version: '>= 0.9', required: false)
 xkbdep         = dependency('xkbcommon', version: '>= 0.2.0')
-graphene_dep   = dependency('graphene-1.0')
+graphene_dep   = dependency('graphene-1.0', fallback : ['graphene', 'graphene_dep'])
 
 if wayland_enabled
   wlclientdep    = dependency('wayland-client', version:  '>= 1.9.91')
diff --git a/subprojects/graphene.wrap b/subprojects/graphene.wrap
new file mode 100644 (file)
index 0000000..306c61a
--- /dev/null
@@ -0,0 +1,4 @@
+[wrap-git]
+directory=graphene
+url=https://github.com/ebassi/graphene.git
+revision=master